import Home from '@/pages/Home'
import Page404 from '@/pages/Page404'
import My from '@/pages/My'
import Org from '@/pages/Org'
import Student from '@/pages/Student'
import Course from '@/pages/Course'
import Product from '@/pages/Product'
import { ROUTE_KEY } from './menus'

export const ROUTE_COMPONENT = {
  [ROUTE_KEY.HOME]: Home,
  [ROUTE_KEY.MY]: My,
  [ROUTE_KEY.ORG]: Org,
  [ROUTE_KEY.STUDENT]: Student,
  [ROUTE_KEY.COURSE]: Course,
  [ROUTE_KEY.PRODUCT]: Product,
  [ROUTE_KEY.PAGE_404]: Page404,
}
